package com.boarsoft.flow.demo.make;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.boarsoft.flow.core.bean.ProcessHandler;

public class MakeMoneyFailHandlerImpl implements ProcessHandler {
	private static final Logger log = LoggerFactory.getLogger(MakeMoneyFailHandlerImpl.class);

	@Override
	public Object process(String entry, Object data, Throwable throwable) throws Throwable {
		log.error("Can not make money");
		return 0L;
	}
}
